//
//  StatusesNormalCell.swift
//  SinaMicroBlog
//
//  Created by wxy on 15/9/9.
//  Copyright © 2015年 wxy. All rights reserved.
//

import UIKit

// 原创微博cell
class StatusesNormalCell: StatusesCell {

    override func setUpUI() {
        super.setUpUI()
        
        // 4.配图视图
        let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: StatusesPictureMaxWidth, height: StatusesPictureMaxWidth), offset: CGPoint(x: 0, y: StatusesPictureItemMargin))
        
        // 记录配图视图约束
        pictureViewWidthConsttraint = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        pictureViewHeightConstraint = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
        pictureViewTopConstraint = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Top)
        
    }
}
